<template>
  <div class="item-box">
    <block-header icon="/static/icon/join-group.png" title="我加入的群" number="2"></block-header>
    <group-list :data="joinData" v-if="joinData.length > 0"></group-list>
    <span v-else class="tip-null">暂无数据</span>
  </div>
</template>

<script>
  import BlockHeader from '../../components/block-header'
  import GroupList from '../../components/group-list'

  export default {
    name: 'join-group-block',
    components: {
      BlockHeader,
      GroupList
    },
    mixins: [],
    computed: {},
    props: {
      joinData: {
        type: Array,
        default: []
      }
    },
    data() {
      return {
        // createData: [
        //   {
        //     name: '众筹出去浪1',
        //     number: '123456',
        //     remark: '小庞',
        //     member: '12',
        //     speak: '250',
        //     lastTime: '2018-3-30 14:49:14',
        //     caseType: [
        //       '前科',
        //       '涉毒'
        //     ]
        //   },
        //   {
        //     name: '众筹出去浪222',
        //     number: '123456',
        //     remark: '小庞',
        //     member: '12',
        //     speak: '250',
        //     lastTime: '2018-3-30 14:49:14',
        //     caseType: [
        //       '前科',
        //       '涉毒'
        //     ]
        //   }
        // ]
      }
    },
    methods: {},
    watch: {},
    mounted() {
    },
    created() {
    }
  }
</script>

<style scoped>

</style>
